// DeepZoomImageDLL.cpp : Defines the exported functions for the DLL application.
// Defines the entry point for the DLL application.

#include "stdafx.h"
#include "DeepZoomImageDLL.h"

// #define CHECK_MEM_LEAK
// 
// #ifdef CHECK_MEM_LEAK
// //#include "vld.h"
// #define _CRTDBG_MAP_ALLOC
// #include <stdlib.h>
// #include <crtdbg.h>
// 
// #define DEBUG_NEW new( _NORMAL_BLOCK, __FILE__, __LINE__ )
// #define new DEBUG_NEW
// #endif

BOOL APIENTRY DllMain( HMODULE hModule,
					  DWORD  ul_reason_for_call,
					  LPVOID lpReserved
					  )
{
	switch (ul_reason_for_call)
	{
	case DLL_PROCESS_ATTACH:
// #ifdef CHECK_MEM_LEAK
// 		_CrtSetDbgFlag ( _CRTDBG_ALLOC_MEM_DF | _CRTDBG_LEAK_CHECK_DF );
// 		_CrtSetReportMode( _CRT_ERROR, _CRTDBG_MODE_DEBUG );
// #endif
		break;
	case DLL_THREAD_ATTACH:
	case DLL_THREAD_DETACH:
	case DLL_PROCESS_DETACH:
		break;
	}
	return TRUE;
}